package com.kou.backend.api.file;

import com.kou.backend.request.file.FileFindPageRequestDTO;
import com.kou.backend.resposne.ResultResponse;
import io.swagger.v3.oas.annotations.tags.Tag;
import org.springframework.validation.annotation.Validated;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * 文件列表相关接口
 *
 * @author: kou
 * @since: 2025/8/28 16:27
 */
@Tag(name = "文件列表相关接口")
@RequestMapping("v1/api/file-ops")
@Validated
public interface FilePageClient {
    /**
     * 分页查询文件列表
     *
     * @param requestDTO requestDTO
     * @return result
     */
    @PostMapping(path = "/findPage")
    ResultResponse findPage(FileFindPageRequestDTO requestDTO);
}
